A basic Bipolar chart
This goes in the documents header:
<script src="RGraph.common.core.js"></script>
<script src="RGraph.bipolar.js"></script>
Put this where you want the chart to show up:
<canvas id="cvs" width="600" height="350">
[No canvas support]
</canvas>
This is the code that generates the chart:
<script>
bip = new RGraph.Bipolar({
id: 'cvs',
left: [8,4,6,5,2,5,8],
right: [4,8,6,3,9,5,2],
options: {
noaxes: true,
colors: ['gradient(red:white:red)'],
labels: ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'],
tooltips: [
'John','Luke','Pete','Jane','Fred','Kim','Lula',
'John','Luke','Pete','Jane','Fred','Kim','Lula'
]
}
}).draw();
</script>